<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>AddStaticGeometryEntity</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">AddStaticGeometryEntity()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>AddStaticGeometryEntity</b></font>(#StaticGeometry, EntityID, x, y, z [, ScaleX, ScaleY, ScaleZ [, RotationX, RotationY, RotationZ]])</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Add an entity to the specified #StaticGeometry. The original entity is left untouched by this function and 
can be freed after the add. The same entity can be added multiple time. 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#StaticGeometry</i></td>
<td width="90%"> 
 
StaticGeometry to use. 

 

</td></tr>
<tr><td><i>EntityID</i></td>
<td> 
 
The <a href="../entity/entityid.html">EntityID</a> of the entity to add to the static geometry. 

 

</td></tr>
<tr><td><i>x, y, z</i></td>
<td> 
 
The position of the entity in the static geometry. 

 

</td></tr>
<tr><td><i>ScaleX (optional)</i></td>
<td> 
 
The 'x' scale factor to apply to the added entity. 

 

</td></tr>
<tr><td><i>ScaleY (optional)</i></td>
<td> 
 
The 'y" scale factor to apply to the added entity. 

 

</td></tr>
<tr><td><i>ScaleZ (optional)</i></td>
<td> 
 
The 'z" scale factor to apply to the added entity. 

 

</td></tr>
<tr><td><i>RotationX (optional)</i></td>
<td> 
 
The 'x' rotation to apply to the added entity. 

 

</td></tr>
<tr><td><i>RotationY (optional)</i></td>
<td> 
 
The 'y' rotation to apply to the added entity. 

 

</td></tr>
<tr><td><i>RotationZ (optional)</i></td>
<td> 
 
The 'z' rotation to apply to the added entity. 

 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

None.





</blockquote><p><b>Remarks</b></p><blockquote>



Once all the entities have been added, the command <a href="buildstaticgeometry.html">BuildStaticGeometry()</a> has to be called to generate 
the static geometry. 

 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="createstaticgeometry.html">CreateStaticGeometry()</a>, <a href="buildstaticgeometry.html">BuildStaticGeometry()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center><a href=index.html>StaticGeometry Index</a> - <a href=buildstaticgeometry.html>BuildStaticGeometry()</a> -&gt;





</body></html>